package com.fc.mall.dao;

import com.fc.mall.dto.SmsBargainPromotion;
import com.fc.mall.dto.SmsBargainPromotionQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单自定义查询Dao
 * Created by dobuy on 2018/10/12.
 */
public interface SmsBargainPromotionDao {
    /**
     * 条件查询订单
     */
    List<SmsBargainPromotion> getList(@Param("queryParam") SmsBargainPromotionQueryParam queryParam);

    int updateByPrimaryKey(SmsBargainPromotion record);

    int insert(SmsBargainPromotion record);

    int deleteByPrimaryKey(Long id);

    SmsBargainPromotion getByPrimaryKey(@Param("id") Long id);
}
